home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 November / Chip Kasım 2000.iso / prog / share / 41 / data1.cab / Common_E / wJavaCom.dll / string.txt next >
Encoding:
Text File  |  1999-11-03  |  2.7 KB  |  21 lines

  1. 38    <HTML>
  2. \n<HEAD>
  3. \n
  4. \n
  5. 39       <TITLE>PhotoImpact Java Rollover Assistant----%s</TITLE>
  6. \n
  7. \n
  8. 40    </HEAD>
  9. \n
  10. \n<Script Language="JavaScript">
  11. \n<!--Ulead(R) RollOverButton(TM) 1.0 Generated JavaScript. Please do not edit.
  12. \nnMaxItem = 4;
  13. \nNameIndex = 0;
  14. \nDefaultState = 1;
  15. \n
  16. \n
  17. 41    MouseOverState = 2;
  18. \nMouseDownState = 3;
  19. \nimgCounter = 0;
  20. \n
  21. \nImageList = new Array();
  22. \n
  23. \n
  24. 42    bIsSupportOK = (
  25. \n    ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) ||
  26. \n    ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))
  27. \n);
  28. \n
  29. \n
  30. 43    function AddImageToImageList(name, Default, MouseOver, MouseDown)
  31. \n{
  32. \n    ImageList[imgCounter] = new Array(nMaxItem);
  33. \n    ImageList[imgCounter][NameIndex] = name;
  34. \n    ImageList[imgCounter][DefaultState] = new Image();
  35. \n
  36. 44        ImageList[imgCounter][DefaultState].src = Default;
  37. \n    if (MouseOver != "") {
  38. \n        ImageList[imgCounter][MouseOverState] = new Image();
  39. \n        ImageList[imgCounter][MouseOverState].src = MouseOver;
  40. \n    }
  41. \n
  42. 45        if (MouseDown != "") {
  43. \n        ImageList[imgCounter][MouseDownState] = new Image();
  44. \n        ImageList[imgCounter][MouseDownState].src = MouseDown;
  45. \n    }
  46. \n
  47. \n    imgCounter++;
  48. \n}
  49. \n
  50. \n
  51. 46    function ReplaceImage(name, state)
  52. \n{
  53. \n    for (i = 0; i < imgCounter; i++) {
  54. \n        if (document.images[ImageList[i][NameIndex]] != null) {
  55. \n
  56. 47                if ((name == ImageList[i][NameIndex]) && (ImageList[i][state] != null))
  57. \n                document.images[name].src = ImageList[i][state].src;
  58. \n        }
  59. \n    }
  60. \n}
  61. \n
  62. \n// ------------
  63. \n
  64. 48    // . First:
  65. \n// . You can copy the "AddImageToImageList(...)" script and
  66. \n// . paste it into your HTML file to compile and
  67. \n// . define your rollover button.
  68. \n
  69. 49    // . ------------
  70. \n
  71. \n
  72. 50    AddImageToImageList("%s", "%s", "%s", "%s");
  73. \n
  74. \n
  75. 51    // ------------>
  76. \n</Script>
  77. \n
  78. \n<BODY>
  79. \n<! ------------
  80. \n// . Second:
  81. \n// . You can copy the "<a href=......></a>" script and
  82. \n
  83. 52    // . paste it into your HTML file to compile and
  84. \n// . define your rollover button.
  85. \n   ------------>
  86. \n
  87. \n
  88. 53    <A HREF="%s"
  89. \n    ONMOUSEDOWN="if (bIsSupportOK) ReplaceImage('%s', MouseDownState);"
  90. \n    ONMOUSEUP="if (bIsSupportOK) ReplaceImage('%s', MouseOverState);"
  91. \n    ONMOUSEOUT="if (bIsSupportOK) ReplaceImage('%s',DefaultState);"
  92. \n
  93. 54        ONMOUSEOVER="if (bIsSupportOK) ReplaceImage('%s', MouseOverState);"
  94. \n    TARGET="%s">
  95. \n    <IMG NAME="%s" SRC="%s" ALT="%s" WIDTH="%d" HEIGHT="%d" BORDER="0"></A>
  96. \n
  97. \n<! ------------
  98. \n
  99. 55    // . Third:
  100. \n// . It is important to note that after copying all the rollover button
  101. \n// . JavaScript codes from the PhotoImpact Java Rollover Assistant,
  102. \n
  103. 56    // . all the image files needed for your rollover buttons
  104. \n// . should be placed within your target folder as well.
  105. \n   ------------>
  106. \n
  107. \n</BODY>
  108. \n</HTML>
  109. \n
  110. 100    wJavaCom
  111.